#pragma once
#include "personal_info_m.h"
#include "user_reservation.h"
#include "data_structure.h"
#include "file.h"
#include "facility_manager.h"
#include "facility.h"

void Manager_Change_facility_code(FacilityManager i);

void Menu(System* sys);

void Data_Manage(System* sys);

void FacilityManager_datamanage(System* sys);

void Change_facility_manager(System* sys);

void Change_fm_datailed(FacilityManager* fm, System* sys);

// 修改负责人管理的具体场地信息
void Change_facility(FacilityManager* fm, System* sys);

void Facility_datamanage(System* sys);

void Change_f_datailed(Facility* f, System* sys);

void backup_user_data(User_list* user_list);

void System_defend(System* sys);

void maintain_user_password(User_list* user_list, const char* name, const char* new_password);

void reset_venue_manager_password(System* sys, FList* flist, const int* manager_id, const char* new_password);

void backup_user_data(User_list* user_list);

void restore_user_data(User_list* user_list);
